Theoretical error analysis of spotlight-based instrument localization for retinal surgery