Finite Element Methods For The Onsager–Stefan–Maxwell Equations And Their Formulations In Thermodiffusion And Electrochemistry