The effect of processing conditions on the structural morphology and physical properties of ZnO and CdS thin films produced via sol–gel synthesis and chemical bath deposition techniques