Continuous electron energy spectra ejected from solid carbon targets bombarded with light and heavy ions