Text this: Mental states and temperaments contributing to suicidal crisis in psychiatric inpatients: a cross-sectional and validation study