On the orientational transition in liquid crystals