Template synthesis and characterization of well-aligned nitrogen containing carbon nanotubes