Liquid Crystal Based Polarization Gratings for Spectro-Polarimetric Applications