Gut microbiota linked to functional changes in psychiatric disorders, study reveals