Generational changes in religious affiliation