Local and long-range endogenous resting potential gradients antagonistically regulate apoptosis and proliferation in the embryonic CNS.