Correction to: Nature Energy https://doi.org/10.1038/s41560-020-0602-0, published online 20 April 2020.

In the version of this Article originally published, in Fig. 4a–c, in the legends, the red dashed lines were mistakenly labelled as ‘Efn (eV)’; they should have been labelled ‘Efp (eV)’. All versions of the Article have been corrected.