Direct observation and simultaneous use of linear and quadratic electro-optical effects