Structural relaxation process in glass-forming liquids: a comparison between the optical Kerr effect and dielectric spectroscopy