U.S. inflation hits new 40-year record in June