Elements at risk as a framework for assessing the vulnerability of communities to landslides