Conformational transitions in polymer gels: Theory and experiment