Air-stable p-n junction diodes based on single-walled carbon nanotubes encapsulating Fe nanoparticles