Text this: Landau theory of free standing and epitaxial ferroelectric film