Fabrication of 2D ordered mesoporous carbon nitride and its use as electrochemical sensing platform for H2O2, nitrobenzene, and NADH detection.