A new approach to causality in the frequency domain