The nucleation of dislocation loops from vacancies