Alginate as a green inhibitor of barite nucleation and crystal growth