Ultra-fast data acquisition system for coherent synchrotron radiation based on superconducting terahertz detectors