A theoretical study of electron–hole pair formation due to the collision of an atom with a solid surface