Low-temperatures synthesis of CuS nanospheres as cathode material for magnesium second batteries