Approximate treatment near resonance of backward and traveling wave tubes in the Compton regime