Materials science of ternary metal boron nitrides