A comparison between mass spectrometry techniques on oxynitrides