Lower gas prices slow inflation in June