An Equilibrium Study of Reactions Involving a Cationic Surfactant and Various Counterions: Prediction of Ion Selectivity