A trip to the opticians could help diagnose depression, study suggests