In-plane stress measurement in polymer coatings as induced by vapor sorption/desorption processes