Annual profits have increased at US wholesale retailer Costco on the back of higher sales at home and abroad.