Costco, BJ’s and Target beat estimates in July