Physical Phenomena in Ferroelectric Thin Films: Study and Modeling