Tuning the mechanical and high temperature tribological properties of Co-Cr-Ni medium-entropy alloys via controlling compositional heterogeneity