Calorimetry of ignition sparks