Social and demographic factors that influence the diagnosis of autistic spectrum disorders