Financing as a Supply Chain: The Capital Structure of Banks and Borrowers