Ionic interactions in solutions. II. The theoretical basis of the equilibrium between free and pairwise associated ions