benefits of inpatient rehab program