The prediction of suicidal thoughts in the elderly on the basis of gratitude and self-compassion