A Honduran court has sentenced the former head of the hydroelectric dam company Desarrollos Energéticos (Desa) to 22 years and six months in prison for taking part in the assassination of environmentalist Berta Cáceres who campaigned against the construction of a dam.