S&P/TSX composite up in early trading helped by energy gains as price of oil rises