Photoacoustic and photoelectrochemical characterization of CdSe-sensitized TiO2 electrodes composed of nanotubes and nanowires