Fully automated potentiometric determination of ionized magnesium in blood serum