Rare earth effect on the microstructure and wear resistance of Ni-based coatings