Financial Structure and Supply Contracts with Switching Costs