The UK’s unemployment rate fell to 4.2% in the three months to the end of June, figures suggest.