magnesium homeostasis