Optimal Monetary Policy with Endogenous Entry and Product Variety