Ion transport and energetics during cell death and protection.