Fabrication and photoelectrochemical properties of TiO2 films on Ti substrate for flexible dye-sensitized solar cells