Total and ionized serum magnesium in critically ill patients