Electrochemical synthesis and characterization of copper Chalcogenide thin films for photoelectrochemical solar cells