Frailty index predicts geriatric psychiatry inpatient mortality: a case–control study