A social cognitive perspective on religious beliefs: their functions and impact on coping and psychotherapy.