Costco's Q2 earnings beat reinforces its membership-fee machine