The carbon storage capacity of protected forests in West Africa increases despite the region suffering a 40-year drought, a study suggests.