Hundreds protest in Hungary as officials stop people boarding trains to Germany and Austria.