Analysis of Ohmic loss due to non-ideal boundary in relativistic backward wave oscillator