USC researchers’ discovery came in a study of an intergenerational community program.