An analytical approach to autonomous optical navigation for a CubeSat mission to a binary asteroid system