The European Court of Human Rights has criticized Turkey's courts over the imprisonment of philanthropist Osman Kavala