Determination of dislocation densities in HCP metals from X-ray diffraction line-broadening analysis