Theoretical studies of atomic adsorption on nearly-free-electron-metal surfaces