How can electronegativity be used to determine bond polarity?