Chemically deposited TiO2/CdS bilayer system for photoelectrochemical properties