Understanding uncertainty and reducing vulnerability: lessons from resilience thinking