Enhanced electrochemical properties of ZnO encapsulated in carbon nanofibers as anode material for lithium-ion batteries