U.S. to train transitioning veterans