Polarization-induced trapped charge in ferroelectrics