Reciprocal influences of family and religion in a changing world