Elastic and inelastic interactions of He and Ne atoms with metal surfaces