Hard and soft generation regimes in a backward-wave oscillator