Nonlinear Optical Response of Organic–Inorganic Halide Perovskites