Low-frequency flute instabilities in intense nonneutral electron and ion beams