A tensor product finite element method for the diffraction grating problem with transparent boundary conditions. (15th February 2017)