Polytypism in superhard transition-metal triborides