Prevalence and predictors of mental incapacity in psychiatric in-patients y