Infrared spectroscopic study of the interactions of nylon-6 with water