A nonlinear observer-based approach to robust cooperative tracking for heterogeneous spacecraft attitude control and formation applications