benefits of inpatient detox