Correction to: Nature https://doi.org/10.1038/s41586-022-04666-5 Published online 4 May 2022

In the version of this article initially published, Extended Data Fig. 5 was a duplicate of Extended Data Fig. 6. The correct image is now in place in the HTML and PDF versions of the article.