Quantification of dislocation structures from anelastic deformation behaviour