Measurement of CO2 sorption and PEG 1500 swelling by ATR-IR spectroscopy