A clamping system for nonlinear optical elements controlled by an electric field