High temperature purification — removal of nitrogen oxides (NOx) and carbon monoxide from gas emissions in the production of nitric acid and caprolactam