Hiring in the US defied expectations with 147,000 jobs added in June, according to the latest figures.