A 1-cohomology Characterization of Property (t)