Managed retreat in response to flooding: lessons from the past for contemporary climate change adaptation