in simple terms explain cardiac action potential and why does sodium leaves the heart and potassium enters the heart