A Theory of Hostile Takeovers