Study of extremely asymmetric X-ray diffraction in the Bragg case of grazing incidence