Synthesis of Ni–B/diamond-Y_2O_3 binary nano-composite coatings and research on corrosion resistance and wear resistance of coatings with different pulse frequencies