Synthesis of three-dimensional free-standing WSe2/C hybrid nanofibers as anodes for high-capacity lithium/sodium ion batteries