Formation of NO in a methane-air flame