The hydrated layer and the adsorption of carbon monoxide at the surface of titania (anatase)