Measuring light with light-dependent resistors: an easy approach for optics experiments