Endogenous endophthalmitis: diagnosis, management, and prognosis