Boosting the cycling stability of rechargeable magnesium batteries by regulating the compatibility between nanostructural metal sulfide cathodes and non-nucleophilic electrolytes