Tuning the LCST and UCST thermoresponsive behavior of poly(N,N-dimethylaminoethyl methacrylate) by electrostatic interactions with trivalent metal hexacyano anions and copolymerization.