Developing resilience in children