X-ray diffraction peaks at glancing incidence and glancing exit from highly mismatched epitaxial layers