MiMiC: a bioinformatic approach for generation of synthetic communities from metagenomes