Costly Capital Allocation with Credit Market Frictions as a Propagation Mechanism