Optimal mechanical design of tetrahedral truss cores for sandwich constructions