Correction to: Nature Nanotechnology https://doi.org/10.1038/s41565-022-01126-z, published online 23 May 2022.

In the version of this article initially published, there were errors in Fig. 1b and Fig. 2b,f,h,j, where square brackets around crystallographic direction vectors appeared instead as parentheses. The square brackets have been restored to the figures in the HTML and PDF versions of the article.