Learning to cook nutritious meals can have an immediate effect on the body’s microbiome, research shows.