Infrared spectra of ion-producing species in hydrocarbons