Correction to: Nature Materials https://doi.org/10.1038/s41563-023-01794-9, published online 29 January 2024.

In the version of the article initially published, the image sections of Tables 1 and 2 were inadvertently swapped. This has now been corrected in the HTML and PDF versions of the article.