A simple and efficient process for the synthesis of 2D carbon nitrides and related materials