Credit Market Imperfections and Macroeconomic Instability. (December 2014)