Phase-contrast imaging of weakly absorbing materials using hard X-rays