Atomic-scale design of radiation-tolerant nanocomposites