A new method for surface analysis of crystals using X-ray diffraction under the specular reflection conditions