Dow Jones, S&P 500 post 3rd consecutive weekly gains