Study of resilience in children with autism spectrum disorder in primary school: risk and protective factors