Barriers and bridges to the integration of social–ecological resilience and law