Emotional regulation and resilience in childhood development