Exact Spectrum of Anomalous Dimensions of Planar N = 4 Supersymmetric Yang–Mills Theory: TBA and excited states