Fiscal policy and debt dynamics in developing countries