Thermal and optical evolution of gas in vacuum glazing