Investigation of excited states of 4He via the 2H(d, p)3H and 2H(d, n)3He reactions using a polarized deuteron beam