Suicide probability and affecting factors in psychiatric inpatients