Africa’s population will triple by the end of the century even as the rest of the world shrinks