The role of local knowledge in adaptation to climate change