Electronic behaviors during martensitic transformations in all-d-metal Heusler alloys