Numerical simulation of nonstationary processes in intense helical electron beams of gyrotrons