Energy loss of atoms at metal surfaces due to electron-hole pair excitations: first-principles theory of "chemicurrents".