The effect of valence on the ion-exchange process: theoretical and experimental aspects on compound binding/release.