How the Gut Environment Shapes the Microbiota in Health and Disease