On the dispersion theory of direct nuclear reactions