Vibrational spectra of erbium-and copper-modified hydrogenated amorphous carbon