A characterization of the Hilbert transform