Trapping oxygen in hierarchically porous carbon nano-nets: graphitic nitrogen dopants boost the electrocatalytic activity