Smart water and soil-salinity management in agro-wetlands