Theory of transients in relativistic backward-wave tubes