Dynamic extraction of sediment attenuation from subbottom acoustic data