Photoelectrical properties of ZnS thin films deposited from aqueous solution using pulsed electrochemical deposition