In situ detection of misfit dislocations by light scattering