Wire-grid diffraction gratings used as polarizing beam splitter for visible light and applied in liquid crystal on silicon