EELS study of the irradiation-induced compression of carbon onions and their transformation to diamond