Search, Market Power, and the Dispersion of Wages and Prices