severely mentally ill inmates were routinely being left chained to benches and chairs for days at a time