How do you calculate the electronegativity of an atom?