Electronic domain pinning in Pb(Zr,Ti)O3 thin films and its role in fatigue