Mediating effect of automatic thoughts on the relationship between self-compassion and mental pain in patients with depression