The orbits of the satellites of Mars from spacecraft and earthbased observations