Anion-exchange reaction synthesized CoNi2S4 nanowires for superior electrochemical performances