High-reliability joining of ceramic to metal