Terahertz ionic Kerr effect: Two-phonon contribution to the nonlinear optical response in insulators