Synthesis and characterization of nitrogen-doped carbon nanotubes by pyrolysis of melamine