High-frequency polarization switching of a thin ferroelectric film