Mass spectrometry of organic compounds