Characterization of the transverse coherence of hard synchrotron radiation by intensity interferometry.