In an action potential, what ions are entering or leaving the cell during each of its phases.