On the equivalence between Clausius–Mossotti and optical electronegativity relations