US warehouse retailer Costco recorded an increase in profits in its third quarter, boosted by sales from both its domestic and overseas division.