Effectiveness of inpatient treatment programs for mentally ill adults in public psychiatric facilities