How to foster resilience in children