Numerical evaluation of the effect fabrication errors in semiconductor waveguide Bragg gratings