location of Diffraction gratings with full amplitude, phase and polarization control: physical realization with liquid crystal spatial light modulators