Associations between sleep duration, sleep quality and diabetic retinopathy