Modelling the dynamics of soil moisture and soil water salinity in tropical saltmarshes