Hungary seals its border with Serbia to stop the flow of refugees into its territory, as its controversial new anti-migrant laws come into force.