The number of home sales taking place across the UK in June was 8% higher than in the same month a year earlier, according to HM Revenue and Customs (HMRC) figures.