Turkish president still hopeful of EU membership