Thousands trapped as Balkans filter migrant flow to Europe