Measurement of the optical nonlinearities of water, ethanol and tetrahydrofuran (THF) at 355 nm