Elderly migration, retirement function, and community growth in nonmetropolitan areas