Determination of the state of charge of TCNQ0/− mixed-valence complexes based on a spectroscopic model. Application to thin films of electrocrystallised tetraethylammonium complexes