A detector system for hyperon production at the COSY time-of-flight spectrometer