Parametric analysis of micromachined reflex klystrons for operation at millimeter and submillimeter wavelengths.