Photoelectrocatalytic activity of mesoporous TiO2 films prepared using the sol–gel method with tri-block copolymer as structure directing agent