The Economic Structure of Corporate Law