A phylogenomic study of endosymbiotic bacteria.