Effects of migraine on visual function.