Three-dimensional deformation analysis of two-phase dislocation substructures