Justice needed in Syria and Iraq: Turkish president