Real-time relative positioning of spacecraft over long baselines