Fractionation of Alginates by Precipitation with Calcium and Magnesium Ions.