Modeling of vapor sorption in polymeric film studied by surface plasmon resonance spectroscopy.