Turkish president reaffirms commitment to EU membership