S&P 500, Dow gain on prospects of more stimulus