Diffractive Gratings In High-Precision Interferometry For Gravitational Wave Detection