Joint attention and its relation to social outcomes: typically developing children and children with autism