Control of light propagation in optical fibers using liquid crystals for applications in optical communications and sensing