Erdogan threatens to open Turkey borders to migrants after EU vote