Exploration of novel foam structures of carbon, boron nitride, and boron carbon nitride: Stability and electronic properties | Synapse