Ferroelectrics and high permittivity dielectrics for memory applications