Onset of the aerobic nitrogen cycle during the Great Oxidation Event