Salehi’s lawyer said he planned to appeal the decision as international organizations condemned the sentence