Electrodeposition of CuInS layers and their photoelectrochemical characterization