Nonlinear optical and electrostatic force microscopy for ferroelectric polarization imaging