Crystalline and random “diamond-like” boron–carbon structures