S&P 500 ends lower amid concern about stalemate in stimulus talks