Photoconduction and thermo-optical hysteresis measurements in thin CdS films