A trilinear estimate with application to the perturbed nonlinear Schrödinger equations with the Kerr law nonlinearity