Chemisorbed phases of H2O on TiO2 and SrTiO3