Inflation, price dispersion and market integration through the lens of a monetary search model