Panama closes border with Colombia to stem migrant flow