Understanding this photoresistor circuit