The mechanism of calcium and magnesium uptake from sea water by a marine bacterium