Characterization of clusters in rare earth-doped fibers by transmission measurements