pH‐responsive polyzwitterions: A comparative study of acrylamide‐based polyampholyte terpolymers and polybetaine copolymers