Surfactant-induced core/shell phase equilibrium in hydrogels.