Amperometric techniques in flow-injection analysis: determination of magnesium in sera and natural waters