Influence of the second harmonic of a resonator on the parameters of a Gunn generator for transit and hybrid modes