Evolutionary genomics of bacteria at the human-animal interface