Investigation of RuO2-SnO2 thin film formation by thermogravimetry-mass spectrometry and infrared emission spectroscopy