Phillies acquire infielder in trade with Boston Red Sox