Elemental analysis of scale inhibitors' effect on water incompatibility in carbonate reservoirs: Modeling, bulk and core scales studies