Heating of plasma ions in a tokamak by the second-harmonic ion-cyclotron resonance interaction with radio-frequency waves