Tilden Lecture. The chemistry and spectroscopy of mixed-valence complexes