Uniqueness in determining rectangular grating profiles with a single incoming wave (Part I): TE polarization case. (1st May 2023)