Abundance-based reconstitution of microbial pan-genomes from whole-metagenome shotgun sequencing data