Automatic simultaneous determination of Ca and Mg in natural waters with no interference separation