Public Debt and Redistribution. The Role of imperfect Capital Markets