Ideal Reversible Hydrogels: Theory and Applications