Correction to: Nature Energy https://doi.org/10.1038/s41560-018-0125-0, published online 2 April 2018.

In the version of this Article originally published, in the legend in Fig. 5a, the blue, green and red lines were incorrectly labelled as GaAs, Si and GaInP, respectively; instead, the labels should have read, respectively, GaInP, GaAs and Si. This has now been corrected.