added comparison of photo diode and photo resistor