How would you define electronegativity and explain how it influences the formation of chemical bonds?