Plasma instabilities of streaming cosmic rays