The adsorption of liquid and vapor water on TiO2(110) surfaces : the role of defects