Theoretical investigation on the transition-metal borides with Ta3B4-type structure: A class of hard and refractory materials