Phillies sign former 36-home-run hitter in free agency