Inhibition of hydrocarbon oxidation in laminar flames and detonations by halogenated compounds