Simultaneous Measurement and Inversion of Surface Wave Dispersion and Attenuation Curves