Bosnia struggles to cope with arrival of thousands of migrants