The Optical Basis of Chemical Valence