The Nanoscale Structure and Dynamic Properties of Ferroelectric Films