Development of rotating polarizing technique to determine the phase transitions, optical polarization and electro-optic modulator properties in liquid crystals