A dynamical analysis of the nuclear reactions 3He(d, p)4He and 3H(d, n)4He: (I). Two-body states