Credit markets with private information