Effects of past and present habitat on the gut microbiota of a wild rodent