Mechanism of Molten-Salt-Controlled Thermite Reactions