Effect of the degree of crosslinking on the selectivity of ion-exchange resins