Credit Cycles and Corporate Investment*