Phase Contrast Microscopy With Soft And Hard X-Rays Using A Segmented Detector