The interaction of CO and NO at the surface of MgO