Aging and shrinking populations have historically raised an economy’s output per worker and had no damping effect on overall gross domestic product, the study says