A molecular and bioinformatic approach to genome sequencing, microbial ecology and conservation of wild pollinators and other invertebrates