Preservation of high-pressure volatiles in nanostructured diamond capsules