Investigations on the structural, morphological, optical and electrical properties of undoped and nanosized Zn-doped CdS thin films prepared by a simplified spray technique