Unstable electrostatic ion cyclotron waves excited by an ion beam