On the theory of X-ray coherent reflection from a rough surface