A first-principles study on the potential of MAB2 (M=Nb, ta; A=Co, Ni) ternary borides as friction-resistance cermet