Diffraction engineering in arrays of photonic crystal waveguides.