Novel peapod array of Ni2P@graphitized carbon fiber composites growing on Ti substrate: a superior material for Li-ion batteries and the hydrogen evolution reaction