Ab initio adiabatic He and Ne interaction on Ag: An all-electron calculation