The U.S. economy grew faster than initially thought in the second quarter, notching its quickest pace in more than two years.