Give and Take Across Generations: How Changing Age Structure Can Lead to Economic Growth