Using x-ray diffraction to identify precipitates in transition metal doped semiconductors