Investigation of Hardness of Ternary Borides of the YCrB4, Y2ReB6, Y3ReB7, and YMo3B7 Structural Types