Synthesis and characterization of aminoporphyrin-end-functionalized poly(N-isopropylacrylamide) with photodynamic and thermoresponsive effects.