Dow, S&P 500 and Nasdaq extend streak of weekly gains