Erdogan hints at lifting state of emergency after polls