Shopify, Suncor contribute to rebound for S&P/TSX composite; U.S. markets also up