Analytical theory of low-frequency space charge oscillations in gyrotrons