Carbon-based materials for photo- and electrocatalytic synthesis of hydrogen peroxide.