Determinants of Homelessness in Metropolitan Areas