The mental health system and the etiology of homelessness: A comparison study