Yankees acquire outfielder from Dodgers in minor-league swap