An interferometric technique for hard X-rays is presented. It is based on two transmission gratings and a phase-stepping technique, and it provides separate radiographs of the phase and absorption profiles of bulk samples. Tomographic reconstruction yields quantitative three-dimensional maps of the X-ray refractive index and of the attenuation coefficient, with a spatial resolution down to a few microns. The method is mechanically robust, it requires little monochromaticity, and can be scaled up to large fields of view. These are important prerequisites for use with laboratory X-ray sources. Numerous applications ranging from wave front sensing to medical radiography are presently under investigation.