Attenuation and speckle modulation of laser light in dispersive dye-doped media: Competition of absorption and scattering processes