Design and Validation of a Responsible Artificial Intelligence-based System for the Referral of Diabetic Retinopathy Patients