Sweden imposes border checks to stem flow of migrants