Optically reconfigurable physical unclonable functions based on 2D MoS2 ring-oscillator arrays for attack-resistant hardware authentication