Poly(N-isopropylacrylamide-co-acrylic acid) ionomers with a controllable molar mass and ionic content