Antiscalants, descaling agents and corrosion inhibitors