Heterojunction structure of cobalt sulfide cathodes for high-performance magnesium-ion batteries