Turkish president says he will allow millions of refugees to head to Europe if bloc censures Ankara over military offensive against Kurdish forces