Abundance-based reconstitution of microbial pan-genomes from shotgun metagenomic data