Modeling the role of infections in the etiology of mental illness