Dependence of the linear and quadratic electrooptical coefficients on the quantum well thickness