Fabrication of diffraction gratings for hard X-ray phase contrast imaging