Monetary and fiscal policy in an optimising model with capital accumulation and finite lives