X-ray imaging of two-phase flows