An ab initio study of the structure and atomic transport in bulk liquid Ag and its liquid-vapor interface