Photoacoustic and photoluminescence characterization of highly porous, polycrystalline TiO2 electrodes made by chemical synthesis