Social capital and resilience in rural areas: responses to change