Stability, electronic, optical, and thermal properties of 3D and quasi-2D C 3 N 4 structures: Insights from DFT and AIMD | Synapse