Ramirez's 2 homers lift Marlins over Phillies