Correction to: Nature Synthesis Published online 6 December 2021.

In the version of this article initially published, information about the GIWAXS measurement at the XRD1 beamline at ELETTRA was inadvertently omitted from the Methods, “General characterization” section, where they are now included, along with updates to the Acknowledgements. The changes have been made to the HTML and PDF versions of the article.