Two-stream Klystron And Cyclotron Maser Driven By Mildly Relativistic Electron Beams