Probing the phase transformation and dislocation evolution in dual-phase high-entropy alloys