The New Keynesian Microfoundation of Macroeconomics