On the theory of the generation of auroral radiation