what is electronegativity and how can it be used in determining the polarity of molecules​