Recoil mixing in solids by energetic ion beams