Red Sox acquire All-Star pitcher in trade