Landau damping of electrostatic ion waves in a uniform magnetic field