A Search-Equilibrium Approach to the Micro Foundations of Macroeconomics (Wicksell Lectures)