Costco records 30% rise in earnings in recent quarter