Fatigue and wear of metalloid-ion-implanted metals