Hydrogen bond interaction in bulk and confined liquid polymers studied by FT-IR and Raman spectroscopy