In-situ characterization of thin polymer films for applications in chemical sensing of volatile organic compounds by spectroscopic ellipsometry