Control of product selectivity in the partial oxidation of methane