Dynamical and spectral Dirac systems: response function and inverse problems