LIQUIDITY SHOCKS, EQUITY-MARKET FRICTIONS, AND OPTIMAL POLICY