Epitaxial ferroelectric thin films for memory applications