Functional tests in detecting early changes of diabetic retinopathy during pregnancy