DFT study of adsorption and diffusion of atomic hydrogen on metal surfaces