Pulsed current electrodeposition of Zn–Ag2S/TiO2 nanocomposite films as potential photoelectrodes