Optimal Capital Structure, Endogenous Bankruptcy, and the Term Structure of Credit Spreads | Synapse