Intracellular calcium homeostasis and its dysregulation underlying epileptic seizures