Attitude Maneuver Planning of Spacecraft with CMGs