Precise absolute and relative navigation in Medium-Earth Orbits by means of Global Navigation Satellite Systems and Inter-Satellite Links