Nature Energy 2, 17104 (2017); published online 30 June 2017; corrected online 18 September 2017.

In the version of this Article originally published, Fig. 4f was incorrect. This error has now been corrected (see new figure below).