NMR study of poly(N-isopropylacrylamide) gels near phase transition