A microscope for hard X-rays based on refractive optics