Applications of analytical electron microscopy to guide the design of boron carbide