Spectra of earthquake time series