Density Functional Theory calculations of metal-water interactions and the role of water and surface defects in chemical reactions