Turkey could extend state of emergency, Erdogan warns EU