The equilibrium price of loan covenants