Charge Regulation of Polyelectrolyte Gels: Swelling Transition