Charge exchange in atom-surface collisions