A gas-inlet system coupled with a Knudsen cell mass spectrometer for high-temperature studies