Developmental and sex modulated neurological alterations in autism spectrum disorder