How does electronegativity affect the type of bond?