Determinants of antipsychotic polypharmacy in psychiatric inpatients: a prospective study