Application of the two-electron transfer reaction to helium ion density and energy distribution measurements in JT-60