Algorithm for estimating the attenuation slope from backscattered ultrasonic signals