Stochastic ferroelectric switching of lead zirconate titanate thin films