Synthesis of transition metal borides and their properties