Determinants of antipsychotic polypharmacy in psychiatric inpatients: prospective study