Metal-free carbonaceous electrocatalysts and photocatalysts for water splitting.