Diffraction engineering for silicon waveguide grating antenna by harnessing bound state in the continuum