General relationships between ultrasonic attenuation and dispersion