Attenuation measurements on shallow seismic refraction data