Estimation of magnesium in patients with functional hypoparathyroidism