Calculation of the electron affinity of transitional elements by the Glockler method