The financial accelerator and the credit channel