Design of bifunctional electrodes for co-generation of electrical power and hydrogen peroxide