Studies of hydrogels and concentrated aqueous ionic solutions by optical Kerr effect