Spectroscopic water vapor sensor for rapid response measurements of humidity in the troposphere