Microbial population genomics and ecology