Electron magnetic resonance study of multiwalled carbon nanotubes and carbon nanohorns