Costco Q2 profit rises on cheap gasoline