Influence of the dynamic polarization of a ferroelectric material on the magnitude of its electrocaloric response