Mental health and experiences of homelessness