A new compact Spice-like model of E2PROM Memory cells suitable for DC and transient simulations