Relationships between rock heterogeneity, attenuation and velocity dispersion at ultrasonic and sonic frequencies