Proton transfer in water polymers as a model for intime and solvent-separated ion pairs