Optical Kerr effect induced by ultrashort laser pulses