Wall Street falls with Amazon; S&P 500 posts sixth straight month of gains