Krafft Gérin (SCM), Ophtalmologue à Nancy