Ion heating by the electrostatic ion cyclotron instability: theory and experiment