Mitochondrial and endoplasmic reticulum calcium homeostasis and cell death