An electronic long-period seismograph for surface-wave dispersion studies