Characterization of CdTe and CdS Films for Photoresistors