A survey of the theory of spectral operators