Dual-layer waveguide grating antenna with high directionality for optical phased arrays.