Electronic and vibrational spectra of a gel of single-wall carbon nanotubes in an ionic liquid