Managed mental health care and patterns of inpatient utilization for treatment of affective disorders