Mayberry helps Phils beat Marlins 5-3