Characterization of magnesium-intercalated V2O5/carbon composites