Controlled Hydration, Transition, and Drug Release Realized by Adjusting Layer Thickness in Alginate-Ca2+/poly(N-isopropylacrylamide) Interpenetrating Polymeric Network Hydrogels on Cotton Fabrics.