Electron energy-loss spectroscopy of carbon onions