Evaluation of factors influencing medication compliance in inpatient treatment of psychotic disorders