Bonding in the positive ions of transition metal compounds