Energy prices power S&P/TSX composite higher, U.S. stock markets mixed