Velocity and attenuation of seismic waves in imperfectly elastic rock