Diagnosis of infectious diseases of the eye