Correction to: Nature Nanotechnology https://doi.org/10.1038/s41565-019-0362-9, published online 11 February 2019.

In the version of this Article originally published, the volume, article number and year of ref. 32 were incorrect; they should have read 31, 1802348 (2019). This has now been corrected.