Environmental factors shaping the microbiota and Clostridioides difficile infection