Former Central African Republic president sentenced to life imprisonment