High-efficiency grating couplers for pixel-level flat-top beam generation