Denmark and Sweden are abandoning open borders in the face of the migrant crisis