Ab initio study of the bare and hydrated (001) surface of tetragonal zirconia