Molecular effects in the energy spectra of ion-induced secondary electrons from gold