Correction to: Nature https://doi.org/10.1038/s41586-022-04963-z Published online 20 July 2022

In the version of this article initially published, the Acknowledgements did not include thanks to the European Synchrotron Radiation Facility for provision of synchrotron radiation facilities and Vincent Fernandez and Paul Tafforeau for assistance in using beamline BM05 and ID17. The omissions have been corrected in the HTML and PDF versions of the article.