Effect of substrate on the structural and optical properties of chemical-bath-deposited CdS films