The Effect of the Solvent on Protolytic Equilibria