S&P 500, Nasdaq retreat as business activity dips