Atom-surface interaction in inelastic scattering: He/Ag(111)