Ignition and detonation of solid explosives: a micromechanical burn model