Costco ends year with strong sales, earnings