Spectral Phase Encoder Using an Arrayed-Waveguide Grating with Phase-Adjustable Structures