The phase diagram (p, T, E) of boron nitride