Multicomponent ion-exchange equilibria. II. Prediction of ternary equilibria for the system Ca2+-Mg2+-H+ from the data of the component binary systems