Dirac structures, momentum maps, and quasi-Poisson manifolds