Modelling the response of mangroves and saltmarshes to sea-level rise: model development and validation