Effect of complexation of monomer units on pH- and temperature-sensitive properties of poly(N-vinylcaprolactam-co-methacrylic acid)