A phylogenetic method to perform genome-wide association studies in microbes