Hysteresis in the surfactant-induced volume transition of hydrogels.