Multimode optical demultiplexer for DWDM with liquid crystal enabled functionalities