Transport processes in solids during ion implantation