UV spectral changes in amorphous carbon grains induced by ion irradiation