Fabrication of CdS quantum dots sensitized TiO2 nanowires/nanotubes arrays and their photoelectrochemical properties