Double-chirping of the waveguide grating router