Wear of two-phase metals