Effects of water on atmospheric processes studied using ab initio molecular dynamics simulations