Color change of N-isopropylacrylamide copolymer bearing Reichardts dye as optical sensor for lower critical solution temperature and for host-guest interaction with beta-cyclodextrin.