Arrays of templated TiO2 nanofibres as improved photoanodes for water splitting under visible light