Demographic Structure and Macroeconomic Trends