On-surface synthesis and characterization of nitrogen-doped covalent-organic frameworks on Ag(111) substrate.