Marlins beat Halladay, Phillies 2-1