Toward a Theory of Bank Loan Commitments