Nature Materials 13, 547–557 (2014); published online 21 May 2014; corrected after print 22 May 2014.

In the version of this Review Article originally published, Fig. 6 was incorrect; it should have been as shown below. This error has now been corrected in the online versions of the Review Article.