What common factor directly contributed to both the rise of Mali empire in West Africa and Yuan dynasty in China during this period?