X-ray microtomography using correlation of near-field speckles for material characterization