The frequency dependence of microstructure evolution in a ferroelectric nano-film during AC dynamic polarization switching