Predictors of poor adherence to treatment in inpatients with bipolar and psychotic spectrum disorders.