The mechanism of spark ignition