Cleansing by tight credit: Rational cycles and endogenous lending standards