Correction to: Nature Electronics https://doi.org/10.1038/s41928-022-00898-5. Published online 28 December 2022.

In the version of this article initially published, the y-axis label of Fig. 3d, now reading “Output voltage (V)” was an inadvertent duplicate of the Fig. 3a label. The figure has been updated in the HTML and PDF versions of the article.