Ultrasonic P and S wave attenuation in dry and saturated rocks under pressure