Dow, S&P post losses for 2nd straight week