Demography in macroeconomic models; when population matters for economic cycles