Molecular dynamic studies of the mechanical properties of C3N and phagraphene