Illinois is turning to local jails to treat mentally ill defendants. Some early results offer hope — and warnings