The electronic structure of the 3d and 4d metal hexafluoride anions and the electron affinities of the corresponding neutrals