The demographic history and mutational load of African hunter-gatherers and farmers