Dependence of porosity, charge recombination kinetics and photovoltaic performance on annealing condition of TiO2 films