Reconstructing prehistoric African population structure