Switching in nonlinear directional couplers and birefringent fibers: effects of group-velocity dispersion