Extraction of minerals from seawater