Ferroelectric nonvolatile memories for embedded applications