Development of nanostructured TiO2 photoanodes for hydrogen production by water splitting