Dynamic failure in two-phase materials