Correction to: Nature Nanotechnology https://doi.org/10.1038/s41565-022-01283-1. Published online 21 December 2022.

In the version of this article initially published, Supplementary Data 5–8, now available online, were missing. The error has been corrected in the HTML and PDF versions of the article.