Electronic and vibrational spectra of two-dimensional quasicrystals.