Mass spectrometry of carbon nitride C3N4