Ferroelectric thin films for integrated passive components