Stock market today: Stocks tumble as the S&P 500 caps off its worst week in 3 months