A Model of Money and Credit, with Application to the Credit Card Debt Puzzle