Synthesis and characterization of F-doped CdS thin films by spray pyrolysis for photovoltaic applications