Demographic dynamics and long-run development: insights for the secular stagnation debate