Prevalence and risk factors of suicidal ideation in adult inpatients with five different types of mental disorders.