X-ray beam polarization measurements