S&P 500 ends at lowest since June 1 as data fuels rate worries