Tunisia court sentences lawyer critical of president to two years in prison