Modelling foredune dynamics in response to climate change