Dow Jones, S&P 500 post biggest daily gain in 2 weeks