Thermal decomposition of methanethiol and ethanethiol