Entries and exits from homelessness: A dynamic analysis of the relationship between structural conditions and individual characteristics