Detecting diabetic retinopathy through machine learning on electronic health record data from an urban, safety net healthcare system