The effects of intellectual functioning on the range of core symptoms of autism spectrum disorders.