Hydrogen ion equilibria in poly(methacrylic acid) and poly(ethacrylic acid) solutions