The structure and functioning of African swamps