Costco earnings beat estimates as consumers seek out value