Nature Nanotechnology 9, 639–647 (2014); published online 3 August 2014; corrected after print 14 August 2014.

In the version of this Article previously published, the name of the co-author Kevan C. Herold was spelt incorrectly. This has now been corrected in the online versions of the Article.