Encapsulating hollow Fe3O4 in intertwined N-doped carbon nanofibers for high-performance supercapacitors and sodium-ion batteries