Nature of the singlet and triplet excitations mediating thermally activated delayed fluorescence