Direct optical measurement of the ratio K-3/gamma in nematic liquid crystals