Friction and sticking coefficients of rare gases approaching a metal surface