Electro-optic grating for LiNbO3 waveguide high-speed modulation