Diversity and functional landscapes in the microbiota of animals in the wild