A macroeconomic model with bond liquidity