Radiation hardened and high-reliability memories