D-state effects in (d, t) and (d, 3He) reactions