A general equilibrium analysis of corporate control and the stock market