Thermally reversible hydrogels: II. Delivery and selective removal of substances from aqueous solutions