Eye test could help diagnose autism