The spectral function of a first order elliptic system