Entanglement of electrons in interacting molecules