Design and optimization of directly heated LaB6 cathode assemblies for electron‐beam instruments