Spirituality and affect: a function of changes in religious affiliation