U.K. inflation cooled significantly in June, coming in below consensus expectations at 7.9% annually.