Factors influencing the duration of hospitalization of patients with schizophrenia