Theoretical study on the thermal decomposition of thiourea