The Ξ operator and its relation to Krein's spectral shift function