Energetics of oxidation and formation of uranium mononitride