Determination of order parameters of liquid crystals from birefringence x ray and magnetic anisotropy studies