Phillies add 2-time All-Star pitcher in free agency