Thermal detonators