Bromine and iodine for selective partial oxidation of propane and methane