Bioelectric memory: modeling resting potential bistability in amphibian embryos and mammalian cell