Modeling δ18O as an early indicator of regime shift arising from salinity stress in coastal vegetation