Attitude synchronization of multiple spacecraft with cone avoidance constraints