Different charge-storage mechanisms in disulfide vanadium and vanadium carbide monolayer