Thermal micro ATR/FT-IR spectroscopic system for quantitative study of the molecular structure of poly(N-isopropylacrylamide) in water