Reactive plasma spraying of wear-resistant coatings