Electrochemical analysis of photoelectro-, electro-, and thermal catalysis towards more efficient hydrogen peroxide production