New York’s homelessness problem has its roots in the American welfare system