Velocity and energy relaxation of ions in drift tubes