Stocks rally on new U.S. highs, dollar at two-year low