Local variations in defect polarization and covalent bonding in ferroelectric Cu(2+)-doped PZT and KNN functional ceramics at the morphotropic phase boundary.