A fiber-optic interfrometric X-ray dosimeter