Turkish editor convicted of insulting the president