Surface ionization mass spectrometry of organic compounds. III. Hydrocarbons and halogenated hydrocarbons