Photoinduced N2O dissociation and CO oxidation on thin MgO films