Partial attitude synchronization of underactuated spacecraft systems