High-harmonic slotted gyroklystron amplifier: linear theory and nonlinear simulation