Reducing psychiatric discharges to homelessness