Thermosensitive poly(N-vinylcaprolactam) as a transmission light regulator in smart windows