Pulsed Electrolysis of Boron-Doped Carbon Dramatically Improves Impurity Tolerance and Longevity of H2O2 Production.