Wall Street posted big gains for the second day in a row as U.S. stocks recovered from a powerful, six-day rout.