Epitaxially grown ferroelectric thin films for agile devices