Tensions flare between migrants and police in Budapest as people from Syria and elsewhere try to reach Germany and Austria.