Application of ion imaging to the atom–molecule exchange reaction: H+HI→H2+I