The effects of pH and ionic strength on equilibrium swelling of polyampholyte gels