Fabrication, characterization and photovoltaic study of a TiO2 microporous electrode