Trapping of the solar wind in solids: Part I. Trapping probability of low energy He, Ne and Ar ions