Factors influencing the resilience of carers of individuals with dementia