Phils beat Marlins 5-4 in 10 innings for DH sweep