Text this: High resolution x-ray diffraction to characterize semiconductor materials