Nitrogen doped carbon nanowires prepared from polypyrrole nanowires for potential application in supercapacitors