Determination of atomic nitrogen concentrations using titration with molecular oxygen