A Price Theory of Vertical and Lateral Integration