Phase locked backward wave oscillator pulsed beam spectrometer in the submillimeter wave range