Optical and electrical properties of annealed CdS thin films obtained from a chemical solution