A new method in the theory of indirect excitons in semiconductors