Iodine intercalation of a high-temperature superconducting oxide