Association of visual acuity with educational outcomes: a prospective cohort study