Structural and optical characterization of undoped and indium-doped CdS films grown by pulsed laser deposition