A reduced mechanism for nitrogen chemistry in methane combustion