Effect of water on the formation of nanostructured mesoporous titania